package com.example.sport.service;

import com.example.sport.domain.User;

import java.util.List;

public interface UserService {
    User findUserByName(String username);

    void register(String username, String password, String role, String collegeId, String name);

    void update(User tuser);


    void updatePwd(String newPwd);

    List<User> getAllUser(User user);

    User findUserById(Integer userId);
}
